package com.zkj.service;

import com.zkj.dto.ShoppingCartDTO;
import com.zkj.entity.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 购物车 服务类
 * </p>
 *
 * @author zkj
 * @since 2024-08-22
 */
public interface IShoppingCartService extends IService<ShoppingCart> {

    /**
     * 添加商品到购物车
     * @param shoppingCartDTO
     */
    void addShoppingCart(ShoppingCartDTO shoppingCartDTO);

    List<ShoppingCart> shoppingCartList();

    void cleanShoppingCart();
}
